package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 定价记录表
 * </p>
 *
 * @author Feng
 * @since 2023-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_pricing_records")
public class RoomPricingRecords extends BaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联的房源/空间/房型的ID
     */
    private Long mappingId;

    /**
     * 类型 1房源 2空间 3房型
     */
    private String type;

    /**
     * 修改之前的月租金
     */
    private Double beforeMonthRental;

    /**
     * 修改之后的月租金
     */
    private Double afterMonthRental;


}
